package com.ease.util.reflection {

   import com.ease.util.ProfilingManager;

   /**
    * Represents the method level reflection info.
    */
   public class MethodReflectionInfo extends MemberReflectionInfo {
      /**
       * The type names of this method's arguments.
       */
      public var argTypeNames:Vector.<String>;

      /**
       * @see ProfilingManager.getObjectSize.
       */
      override public function getNestedSize():int {
         var size1:int = super.getNestedSize();
         var size2:int = ProfilingManager.instance.getObjectSize(this.argTypeNames);
         return  size1 + size2;
      }
   }
}